package com.dkd.manage.domain.po;

import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商品管理对象 tb_sku
 *
 * @author ming
 * @date 2024-10-26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Sku extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long skuId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String skuName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String skuImage;

    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private String brandName;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String unit;

    /**
     * 商品价格
     */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /**
     * 商品类型
     */
    @Excel(name = "商品类型")
    private Long classId;

    /**
     * 是否打折促销
     */
    private Integer isDiscount;

}
